<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'categoryList.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="css/css.css" rel="stylesheet" type="text/css" />
	<link href="css/style.css" rel="stylesheet" type="text/css" />

  </head>
  
  <body>
  <form name="fom" id="fom" method="post" action="admin/deleteCategory">
   <table id="mainpage" width="100%" border="0" cellspacing="0"
			cellpadding="0">
			<tr>
				<td height="30"><table width="100%" border="0" cellspacing="0"
						cellpadding="0">
						<tr>
							<td height="62" background="images/nav04.gif">
								&nbsp;
							</td>
						</tr>
					</table></td>
			</tr>
			<tr>
				<td>
				
				<table id="subtree1" style="DISPLAY: " width="100%"
						border="0" cellspacing="0" cellpadding="0">

						<tr>
							<td>
								<form action="admin/deleteCategory" method="post">
									<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
										<tr>
											<td height="20">
											</td> 
										</tr>
										<tr>
											<td height="40" class="font42">
												<table width="100%" border="0" cellpadding="4" align="center"
													cellspacing="1" bgcolor="#464646" class="newfont03">
													<tr>
														<td height="20" colspan="6" align="center" bgcolor="#EEEEEE" class="tablestyle_title" >期刊分类总列表</td>
													</tr>
													<tr>
														<td width="4%" align="center" bgcolor="#EEEEEE">选择</td>
														<td width="10%" align="center" bgcolor="#EEEEEE">期刊分类名</td>
														<td width="10%" align="center" bgcolor="#EEEEEE">英文名</td>
														<td width="20%" align="center" bgcolor="#EEEEEE">介绍</td>
														<td width="5%" align="center" bgcolor="#EEEEEE">操作</td>
													</tr>
													<c:forEach items="${requestScope.allCategoryList}" var="list">
														<tr align="center">
															<td bgcolor="#FFFFFF"><input type="checkbox" name="categoryId" value="${list.categoryId }" /></td>
															<td bgcolor="#FFFFFF">${list.name }</td>
															<td bgcolor="#FFFFFF">${list.enName }</td>
															<td style="text-overflow:ellipsis;" bgcolor="#FFFFFF" align="left">${list.introduce }</td>
															<td bgcolor="#FFFFFF">
																&nbsp;&nbsp;<a href="admin/showCagegoryInfo.action?categoryId=${list.categoryId }">修改</a>
															</td>
														</tr>
													</c:forEach>
												</table>
												</td>
										</tr>
									</table>
								</form>
							</td>
						</tr>
					</table>
					<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
						<tr>
							<td height="6"><img src="images/spacer.gif" width="1" height="1" /></td>
						</tr>
						<tr>
							<td height="33"></td>
						</tr>
					</table>
					
					</td>
			</tr>
		</table>
		</form>
	
</body>
</html>
